package service.Impl;



import dao.loginDao;
import dao.Impl.loginDaoImpl;
import entity.User;

import service.AdminService;

public class AdminServiceImpl implements AdminService {

	private loginDao login=new loginDaoImpl();
	@Override
	public int adduserInfo(User user) {
		return login.adduserInfo(user);
	}

	@Override
	public boolean login(User user) {
		return login.login(user);
	}

	@Override
	public boolean zhucebyusername(String userName) {
		return login.zhucebyusername(userName);
	}
	}

